namespace ADOBase
{
    public class DbConstants
    {
        //public static string ConnectionString = "Server=(local);DataBase=PhongKham;UID=sa;PWD=sa";
        public static string ConnectionString
        {
            get
            {
                return System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"];
            }
        }
        public static bool IsOnDebugMode()
        {
            //return false;
            if (System.Configuration.ConfigurationSettings.AppSettings["DEBUG"] == null) return false;
            return System.Configuration.ConfigurationSettings.AppSettings["DEBUG"].ToLower() == "true";
        }
    }
}